Tengo este error en la consola:
Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module. No se puede encontrar en la documentación donde Set the "accessibility.enabled" option to false .
Esta es la opción que le paso al componente:
const optionNUsersPerService = { chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, type: 'pie' }, title: { text: 'Utenti per servizio' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, accessibility: { point: { valueSuffix: '%' } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.percentage:.1f} %' } } }, series: [{ name: 'Utenti', colorByPoint: true, data: getDataUsersPerService(props.items) }] }Y este es el componente:
return ( <HighchartsReact highcharts={Highcharts} options={currentOptions} immutable={true} callback={props.callback} /> );La advertencia se agregó desde Highcharts v10.1.0 (2022-04-29)
Registro de cambios: https://www.highcharts.com/blog/changelog/
Para deshabilitar la accesibilidad, configure:
accessibility: { enabled: false }Demostración en vivo: http://jsfiddle.net/BlackLabel/mvnjskqr/
Referencia de la API: https://api.highcharts.com/highcharts/accessibility.enabled